Total Complexity | 23 |
Dependencies | 2 |
Dependents | 0 |
Total lines | 212 |
Lines of code | 144 |
Logical lines of code | 67 |
Comment lines | 2 |
Methods | 14 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_shipping_rates_field() | 50 | 5 | 31 | |
generate_pricing_condition_radio_html() | 51 | 4 | 28 | |
generate_free_shipping_condition_html() | 57 | 1 | 20 | |
generate_shipping_rates_html() | 56 | 1 | 19 | |
validate_pricing_condition_field() | 71 | 2 | 5 | |
validate_free_shipping_condition_field() | 72 | 2 | 5 | |
__construct() | 68 | 1 | 8 | |
init() | 74 | 1 | 5 | |
init_form_fields() | 81 | 1 | 3 | |
get_rates() | 79 | 1 | 3 | |
get_pricing_condition() | 79 | 1 | 3 | |
get_product_code() | 82 | 1 | 3 | |
get_return_product_code() | 82 | 1 | 3 | |
calculate_shipping() | 67 | 1 | 8 |